package org.edu.modules.oa.service;

import org.edu.modules.oa.entity.VeOaMeetAnnUsersEntity;
import org.edu.modules.oa.entity.VeOaMeetAnnounceEntity;
import org.edu.modules.oa.entity.VeOaMeetUsersEntity;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public interface IVeOaMeetAnnounceService {
    //初始化通知表格的方法
    HashMap<String,Object> loadAnnounceTable(Integer start,Integer pageSize,String title,Integer meetId);

    //删除一条通知的方法
    int deleteAnnounceById(Integer id);

    //查看当场会议的全部参会人员---会议人员表ve_oa_meet_users
    List<VeOaMeetUsersEntity> selectMeetUsersById(Integer meetId);

    //用会议id查看已经通值的人员ve_oa_meet_ann_users
    List<VeOaMeetAnnUsersEntity> selectAnnUsersByMeetId(Integer meetId,Integer anId);

    //添加当场会议的会议通知
    int insertMeetUserAnno(VeOaMeetAnnounceEntity veOaMeetAnnounceEntity,String ids);

    //修改会议的会议通知的方法
    int updateMeetUserAnno(VeOaMeetAnnounceEntity veOaMeetAnnounceEntity,String ids);


}
